(deftemplate MAIN::test.beans.User
   (slot name)
   (slot age)
   (slot gender)
   (slot hashcode)
   (slot nRetain (default 0))
   (slot trCount (default 0)))

(deftemplate MAIN::test.beans.Course
   (slot courseID)
   (slot teacher)
   (slot students)
   (slot hashcode)
   (slot nRetain (default 2))
   (slot trCount (default 2)))

(deftemplate MAIN::test.beans.OnlineCourse
   (slot url)
   (slot courseID)
   (slot teacher)
   (slot students)
   (slot hashcode)
   (slot nRetain (default 2))
   (slot trCount (default 2)))

(deftemplate MAIN::test.beans.Student
   (slot name)
   (slot studentID)
   (slot courses)
   (slot hashcode)
   (slot nRetain (default 1))
   (slot trCount (default 1)))

(deftemplate MAIN::test.beans.Teacher
   (slot name)
   (slot teacherID)
   (slot courses)
   (slot hashcode)
   (slot nRetain (default 1))
   (slot trCount (default 1)))

(deftemplate MAIN::java.util.Collection
   (multislot items)
   (slot class)
   (slot hashcode))

